@echo off
if "%1"=="clean" rmdir /s /q temp bin 2>nul
if not exist temp mkdir temp
if not exist bin mkdir bin
"C:\Program Files\Java\jdk1.6.0_24\bin\javac" -sourcepath src/tools -d bin src/tools/org/h2/build/*.java
"C:\Program Files\Java\jdk1.6.0_24\bin\java" -Xmx256m -cp "bin;C:\Program Files\Java\jdk1.6.0_24\lib\tools.jar;temp" org.h2.build.Build %*